package com.common.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @Description:
 * @Date: 2025/6/5 11:44
 */
@Configuration
@ConfigurationProperties(prefix = "security.request")
public class SecurityRequestConfiguration {
    /**
     * 白名单地址
     */
    private List<String> permitAll;

    /**
     * 低代码相关白名单地址
     */
    private List<String> lowCodePermitAll;
    /**
     * 需要权限认证
     */
    private List<String> authenticated;


    public List<String> getPermitAll() {
        return permitAll;
    }

    public void setPermitAll(List<String> permitAll) {
        this.permitAll = permitAll;
    }

    public List<String> getAuthenticated() {
        return authenticated;
    }

    public void setAuthenticated(List<String> authenticated) {
        this.authenticated = authenticated;
    }

    public List<String> getLowCodePermitAll() {
        return lowCodePermitAll;
    }

    public void setLowCodePermitAll(List<String> lowCodePermitAll) {
        this.lowCodePermitAll = lowCodePermitAll;
    }
}
